//
//  XYPhotosCollectionViewCell.m
//  Zhihuijinfu
//
//  Created by XY Lv on 17/3/28.
//  Copyright © 2017年 王笛. All rights reserved.
//

#import "XYPhotosCollectionViewCell.h"

@implementation XYPhotosCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame{
    self  = [super initWithFrame:frame];
    if(self){
        [self xyLayoutImgViewWithFrame:frame];
    }
    return self;
}

- (void)xyLayoutImgViewWithFrame:(CGRect)frame{
    self.xyImgView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height)];
    [self addSubview:self.xyImgView];
    self.xyImgView.userInteractionEnabled = YES;
    
}
@end
